﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using WiseLinkWPF.Windows.Controls.GridView;
using WiseLinkWPF.Windows.Controls;
using CCF20Model;
using System.Collections;
namespace CCF20Module
{
    /// <summary>
    /// Interaction logic for VehicleMessage.xaml
    /// </summary>
    public partial class FaultQuery
    {
        
        public FaultQuery()
        {
            InitializeComponent();
            
        }

        private void UserControl_Loaded(object sender, RoutedEventArgs e)
        {
            this.gridFaultQuery.ItemsSource = faultModel.GetFaultQuery();
            this.gridMaintenanceQuery.ItemsSource = faultModel.GetMaintenanceQuery();
            ApplyResourceToGrid();
            ApplyResourceToLable();

        }

     
    }
}
